﻿//
//  GNS_Common.h
//  GameHall
//
//  Created by mr.l on 16/1/27.
//
//

#ifndef GNS_Common_h
#define GNS_Common_h

#include <map>
#include <stdio.h>
#include "SystemMgr.h"
#include "GnsClientCoreHead.h"
#include "CMD_NewGameHall.h"
#include "SelfModuleID.h "
#include "GameSkeletonMsgCode.h"
#include <vector>
#include "AudioMgr.h"
#include "TableMgr.h"
#include "GNS_SceneMgr.h"

using namespace std;

#define LOGINSERVER 0
#define HALLSERVER 1


/**
*  版本号
*/

#if (CC_TARGET_PLATFORM==CC_PLATFORM_IOS) 
//ios
#define  GLOBAL_GAME_ID   102

#define VER_MAIN     1
#define VER_CHILD    0
#define VER_BUILD    21

#define PLAT_PORM_NO 5 //// 1=安卓手机;2=PC;3=网页;5=苹果手机
#elif(CC_TARGET_PLATFORM==CC_PLATFORM_ANDROID)
// android 
#define  GLOBAL_GAME_ID   101

#define VER_MAIN     1
#define VER_CHILD    0
#define VER_BUILD    31

#define PLAT_PORM_NO 1 //// 1=安卓手机;2=PC;3=网页;5=苹果手机
#else  
// win32 
#define  GLOBAL_GAME_ID   103

#define VER_MAIN     1
#define VER_CHILD    0
#define VER_BUILD    20

#define PLAT_PORM_NO 2 //// 1=安卓手机;2=PC;3=网页;5=苹果手机

#endif

#define GameFontName  "Hiragino Sans GB W3.ttc"

#endif /* GNS_Common_h */
